<?php

session_start();

include "Gadget.php";
include "parserXML.php";

extract( $_POST );

$gID = ($_SESSION['idNaprave']);

updateNapravaLastnosti($gID, $gdimenzije, $gbarva, $gteza, $gcena);

header( "Location: index.php" );

?>